﻿
Imports CupsApp.Data

Public Interface IClientDomainService
    Function GetClients() As IQueryable(Of cups_Client)
    Function GetClient(ByVal id As Integer) As cups_Client
    Function NewClient(ByVal client As cups_Client) As Integer
    Function DeleteClient(ByVal id As Integer) As Boolean
    Function UpdateClient(ByVal client As cups_Client) As Boolean

    Function GetClientSummary() As IQueryable(Of ClientSummary)

    Function GetClientSummary(ByVal maximumRows As Integer, ByVal startRowIndex As Integer, ByVal sortType As String) As IList(Of ClientSummary)

    Function SearchClients(ByVal maximumRows As Integer, ByVal startRowIndex As Integer, ByVal data As PersonalInterview) As IList(Of cups_Client)
End Interface
